﻿namespace PLCSharp.IEC61131_3
{
    public struct REAL
    {
        private float value;

        public static implicit operator float(REAL i)
        {
            return i.value;
        }

        public static implicit operator REAL(float s)
        {
            REAL o = new()
            {
                value = s
            };
            return o;
        }
    }
}